use pretty_assertions::assert_eq;

macro_rules! aw {
    ($e:expr) => {
        tokio_test::block_on($e)
    };
}

#[test]
fn get_versions() {
    let res = async {
        let mut store = libs::get_version::DstVersionStore::new();
        let _ = store.update().await;
        store
    };

    assert_eq!(25, aw!(res).len());
}
